package com.xk.springcloud.config;

import com.xk.lb.LoadBalancer;
import com.xk.lb.MyLb;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyLbConfig {
    @Bean
    public LoadBalancer getNew(){
        return new MyLb();
    }
}
